home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.400 < prev    next >
Text File  |  1992-02-06  |  1KB  |  58 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ul0\fs28 NetInfo reset undo configuration server\
  7. \
  8.  
  9. \b Q:
  10. \b0  How do I go all the way back to a default (vanilla) NetInfo set-up?\
  11. \
  12.  
  13. \b Q
  14. \b0 : How do I undo making a machine a Configuration Server?\
  15. \
  16.  
  17. \b A:
  18. \b0  You need to do three things: get a default NetInfo database, get an original host configuration database, and an original hosts file.  The following assumes you're running the C-Shell.\
  19. \
  20.     
  21. \f2\fs24 cd /etc/netinfo\
  22.     foreach db (*.nidb)\
  23.         mv $\{db\} $\{db\}-old\
  24.     end\
  25.     cp -rp /usr/template/client/etc/netinfo/local.nidb .\
  26.     cd ..\
  27.     mv hostconfig hostconfig.old\
  28.     mv hosts hosts.old\
  29.     cp -p /usr/template/client/etc/hostconfig .\
  30.     cp -p /usr/template/client/etc/hosts .\
  31.     halt\
  32.  
  33. \f0\fs28     DISCONNECT THE COMPUTER FROM THE NETWORK\
  34.     REBOOT\
  35. \
  36. NOTE that this is NOT sufficient for undoing a clone server! See NextAnswer sysadmin.609 on how to undo a clone configuration server.\
  37. \
  38.  
  39. \b Warning\
  40.  
  41. \b0 \
  42. Don't change any values in the 
  43. \i localhost
  44. \i0  and 
  45. \i broadcasthost
  46. \i0  entries in the machines directory of the local NetInfo domain. Don't edit the 
  47. \i localhost
  48. \i0  address in /etc/hosts, the localhost address is reserved and not to be altered.\
  49. \
  50. \
  51. QA400\
  52. \
  53. Valid for 1.0 \
  54. Valid for 2.0\
  55. \
  56.  
  57.  
  58.